<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../../org/angular.min.js"></script>
</head>

<body ng-app="app" ng-controller="ctrl">
    <span>{{price|currency:'￥':1}}</span>
    <span>{{price|number:2}}</span>
    <p>{{city|lowercase}}</p>
    <p>{{name|uppercase}}</p>
    <p>{{title|limitTo:3}}</p>
    <p>{{time|date:'yy-MM-dd HH:mm:ss'}}</p>
    <script>
        var m = angular.module('app', []);
        m.controller('ctrl', ['$scope', function($scope) {
            $scope.price = 21.23923;
            $scope.name = 'zyx';
            $scope.city = 'BeiJing';
            $scope.title = '这里是文章标题，超级的长，你慢慢看吧！';
            $scope.time = (new Date()).getTime();
        }])
    </script>
</body>

</html>
